﻿using UnityEngine;
using System.Collections;


public class SystemPop : MonoBehaviour, IPop
{
    public void ShowPop(string text)
    {
        UIManager.Instance.ShowUI_PopMsg(text);
    }
}

public interface IPop
{
    void ShowPop(string text);
}

public class Pop 
{
    private static IPop instance;
    public static IPop Instance 
    { 
        get
        {
            return instance;
        }
        set 
        {
            instance = value;
        }
    }
}


